package com.arm.dao;

import com.arm.module.ShoppingCart;

import java.util.List;

public interface ShoppingCartMapper {

    int deleteByPrimaryKey(Long tid);
    int deleteByUserId(Long userId);
    int insertShoppingCart(ShoppingCart record);

    int updateShoppingCartByPrimaryKeySelective(ShoppingCart record);

    int updateShoppingCartById(ShoppingCart record);
    List<ShoppingCart> getShoppingCartListByUserId(Long userId);
    List<ShoppingCart> getShoppingCartListByIds(List<Long> idList);
}